﻿using Magicodes.ExporterAndImporter.Core;
using System;

namespace NP.BPMReportPlatform.GC.Dto
{
    /// <summary>
    /// 产品提前备货 出参
    /// </summary>
    public class GetCPTQBHOutput
    {
        /// <summary>
        /// 申请单号
        /// </summary>
        [ExporterHeader(DisplayName = "申请单号")]
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 申请时间
        /// </summary>
        [IEIgnore(IsExportIgnore = true)]
        public DateTime? CreateTime { get; set; }
        [ExporterHeader(DisplayName = "申请时间")]
        public string CreateTimeStr { get; set; }

        /// <summary>
        /// 申请人
        /// </summary>
        [ExporterHeader(DisplayName = "申请人")]
        public string AddUserName { get; set; }

        /// <summary>
        /// 单据详情链接
        /// </summary>
        [IEIgnore(IsExportIgnore = true)]
        public string Url { get; set; }

        /// <summary>
        /// 单据状态
        /// </summary>        
        [ExporterHeader(DisplayName = "单据状态")]
        public string OrderStatus { get; set; }

        /// <summary>
        /// 所属销售部
        /// </summary>
        [ExporterHeader(DisplayName = "所属销售部")]
        public string SalesDepartment { get; set; }

        /// <summary>
        /// 所属销售分部
        /// </summary>
        [ExporterHeader(DisplayName = "所属销售分部")]
        public string SalesDivision { get; set; }

        /// <summary>
        /// 销售公司
        /// </summary>
        [ExporterHeader(DisplayName = "销售公司")]
        public string SalesCompany { get; set; }

        /// <summary>
        /// 所属大区
        /// </summary>
        [ExporterHeader(DisplayName = "所属大区")]
        public string SalesArea { get; set; }

        /// <summary>
        /// 交付运营中心
        /// </summary>
        [ExporterHeader(DisplayName = "交付运营中心")]
        public string OperationCenter { get; set; }

        /// <summary>
        /// 备货所属工厂
        /// </summary>
        [ExporterHeader(DisplayName = "备货所属工厂")]
        public string Factory { get; set; }

        /// <summary>
        /// 工厂描述
        /// </summary>
        [ExporterHeader(DisplayName = "工厂描述")]
        public string FactoryDes { get; set; }

        /// <summary>
        /// 客户编号
        /// </summary>
        [ExporterHeader(DisplayName = "客户编号")]
        public string CustomerNo { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        [ExporterHeader(DisplayName = "客户名称")]
        public string CustomerName { get; set; }

        /// <summary>
        /// 客户类型
        /// </summary>
        [ExporterHeader(DisplayName = "客户类型")]
        public string CustomerType { get; set; }

        /// <summary>
        /// 收货地址
        /// </summary>
        [ExporterHeader(DisplayName = "收货地址")]
        public string CustomerAddress { get; set; }

        /// <summary>
        /// 产品提前备货原因
        /// </summary>
        [ExporterHeader(DisplayName = "产品提前备货原因")]
        public string Reason { get; set; }

        /// <summary>
        /// 信用状态（特价申请是否已通过）
        /// </summary>
        [ExporterHeader(DisplayName = "特价是否已通过")]
        public string TJApply { get; set; }

        /// <summary>
        /// 新客户（信用申请是否已通过）
        /// </summary>
        [ExporterHeader(DisplayName = "信用是否已通过")]
        public string XYApply { get; set; }

        /// <summary>
        /// 欠款（含主分账户）
        /// </summary>
        [ExporterHeader(DisplayName = "欠款（含主分账户）")]
        public string Debt { get; set; }

        /// <summary>
        /// 逾期（含主分账户）
        /// </summary>
        [ExporterHeader(DisplayName = "逾期（含主分账户）")]
        public string Arrears { get; set; }

        /// <summary>
        /// 备货总金额
        /// </summary>
        [ExporterHeader(DisplayName = "备货总金额")]
        public string TotalPrice { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [ExporterHeader(DisplayName = "交付运营专员结案备注")]
        public string Remark { get; set; }

        /// <summary>
        /// 序号
        /// </summary>
        [ExporterHeader(DisplayName = "序号")]
        public string SortNo { get; set; }

        /// <summary>
        /// 商机号
        /// </summary>
        [ExporterHeader(DisplayName = "商机号")]
        public string BusinessNo { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        [ExporterHeader(DisplayName = "项目名称")]
        public string ProjectName { get; set; }

        /// <summary>
        /// 项目所在地
        /// </summary>
        [ExporterHeader(DisplayName = "项目所在地")]
        public string ProjectAddress { get; set; }

        /// <summary>
        /// 产品分类
        /// </summary>
        [ExporterHeader(DisplayName = "产品分类")]
        public string ProductType { get; set; }

        /// <summary>
        /// 备货阶段
        /// </summary>
        [ExporterHeader(DisplayName = "备货阶段")]
        public string StockStage { get; set; }

        /// <summary>
        /// 物料编码
        /// </summary>
        [ExporterHeader(DisplayName = "物料编码")]
        public string Material { get; set; }

        /// <summary>
        /// 物料描述
        /// </summary>
        [ExporterHeader(DisplayName = "物料描述")]
        public string MaterialDesc { get; set; }

        /// <summary>
        /// 更名名称
        /// </summary>
        [ExporterHeader(DisplayName = "更名名称")]
        public string Rename { get; set; }

        /// <summary>
        /// 依赖书号
        /// </summary>
        [ExporterHeader(DisplayName = "依赖书号")]
        public string DependencyNo { get; set; }

        /// <summary>
        /// 色号
        /// </summary>
        [ExporterHeader(DisplayName = "色号")]
        public string ColorNumber { get; set; }

        /// <summary>
        /// 包装规格
        /// </summary>
        [ExporterHeader(DisplayName = "包装规格")]
        public string Pack { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        [ExporterHeader(DisplayName = "单价")]
        public string Price { get; set; }

        /// <summary>
        /// 项目总需求量
        /// </summary>
        [ExporterHeader(DisplayName = "项目总需求量")]
        public string Requirement { get; set; }

        /// <summary>
        /// 需备货总量
        /// </summary>
        [ExporterHeader(DisplayName = "需备货总量")]
        public string TotalStock { get; set; }

        /// <summary>
        /// 第一次出货数量
        /// </summary>
        [ExporterHeader(DisplayName = "第一次出货数量")]
        public string SellNumber1 { get; set; }

        /// <summary>
        /// 第一次出货月份
        /// </summary>
        [ExporterHeader(DisplayName = "第一次出货月份")]
        public string SellMonth1 { get; set; }

        /// <summary>
        /// 第二次出货数量
        /// </summary>
        [ExporterHeader(DisplayName = "第二次出货数量")]
        public string SellNumber2 { get; set; }

        /// <summary>
        /// 第二次出货月份
        /// </summary>
        [ExporterHeader(DisplayName = "第二次出货月份")]
        public string SellMonth2 { get; set; }

        /// <summary>
        /// 第三次出货数量
        /// </summary>
        [ExporterHeader(DisplayName = "第三次出货数量")]
        public string SellNumber3 { get; set; }

        /// <summary>
        /// 第三次出货月份
        /// </summary>
        [ExporterHeader(DisplayName = "第三次出货月份")]
        public string SellMonth3 { get; set; }
    }
}
